<#include "/includes/header.ftl">
<TABLE width="100%" border="0" cellpadding="0" cellspacing="0">
<TR>
	<TD width="120" valign="top"><#include "/includes/leftbar.ftl"></TD>	
	<TD valign="top" width="90%">
	<#-- Main Content-->
	<table width="100%" border="0">
  <form name="edit_user_2_message_form" action='<@spring.url "/editmyservedwebsiteprofile.asp"/>' method="post" onsubmit="return check_form(create_account);">
  <@spring.bind "command.user2Site.sysId" />    
  <INPUT type="hidden" name="${spring.status.expression}" value='${spring.status.value?default("")}'  />
  <INPUT type="hidden" name="u2ssid" value='${spring.status.value?default("")}'  />
  
  <tr>
    <th width="10%" nowrap="nowrap" scope="row" colspan="3" align="center"><b>登录网址</b></th>
  </tr>
  <#if primarySiteCategoryTrail?has_content>
  <INPUT type="hidden" name="sgid" value="${sgid}">
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right"> 网址初设分类: </div></th>
    <td>
        <div align="left">
        <#list primarySiteCategoryTrail as g>
        <A href='<@spring.url "/listcategory2store.jsp?sgid=${g.categoryId}"/>'>${g.name?default("No-Category-Name")}</A>&gt;&gt;
        </#list>
        </div>       
        </td> 
    </tr>
  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row"><div align="right"></div></th>
    <td>
        <div align="left">网址初设分类由你创建店铺时决定,不能更改,请仔细选择.网址初设分类非常重要,可以方便你的顾客快速找到你的网址.</div>        
        </td> 
    </tr>
	</#if>    
  <tr>
    <th width="10%" nowrap="nowrap" scope="row"><div align="right">网址: </div></th>
    <td width="90%">
          <@spring.bind "command.user2Site.site.siteId" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
    </td>
    <td width="1%" rowspan="4" valign="top"><div align="left"><a href="../productdetail.html"><img src="../IMAGES/content.jpg" width="130" height="98" border="0" /></a></div></td>
  </tr>

  <tr>
    <th width="10%" nowrap="nowrap" scope="row"><div align="right">网站名称: </div></th>
    <td width="90%">
          <@spring.bind "command.user2Site.site.name" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
    </td>
    <td width="1%" rowspan="4" valign="top"></td>
  </tr>

  <tr>
    <th width="10%" nowrap="nowrap" scope="row"><div align="right">网站LOGO: </div></th>
    <td width="90%">
          <@spring.bind "command.user2Site.site.logoImage" />    
          <INPUT type="text" name="${spring.status.expression}" value='${spring.status.value?default("")}' size="64" />
          <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
          &nbsp;<br>
          <font color="red">本站不提供图片上传，请录入图片的网址，例如：http://www.sina.com/logo.gif </font>
    </td>
    <td width="1%" rowspan="4" valign="top"></td>
  </tr>

  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">网站介绍: </div></th>
    <td><label>
      <div align="left">
         <@spring.bind "command.user2Site.site.shortDesc" />    
        <textarea name="${spring.status.expression}" cols="60" rows="10">${spring.status.value?default("Please input website short desc")}</textarea>
      </div>
    </label></td>
    </tr>


    
	  <tr>
    <th width="1%" nowrap="NOWRAP" scope="row" valign="top"><div align="right">状态: </div></th>
    <td>
      <@spring.bind "command.user2Site.site.status" />
      <#assign status = spring.status.value?default(1001)>
		  <INPUT type="radio" name="${spring.status.expression}" value="1001" <#if status == 1001>checked</#if>>正在编辑&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1002" <#if status == 1002>checked</#if>>申请审批&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1003" <#if status == 1003>checked</#if>>审批失败&nbsp;&nbsp;
		  <INPUT type="radio" name="${spring.status.expression}" value="1004" <#if status == 1004>checked</#if>>审批通过&nbsp;&nbsp;
      <#list spring.status.errorMessages as error><font color=#cc0000>${error}</font><br /></#list>
		</td>
    </tr>

  <tr>
    <th valign="top" nowrap="nowrap" scope="row"><div align="right">说明: </div></th>
    <td><label>
      <div align="left"><font color="red">系统管理员有权批准或禁止您的网站信息上线。</font></div>
    </label></td>
    </tr>
    
  <tr>
    <th scope="row">&nbsp;</th>
    <td colspan="2"><label>
      <div align="left">
        <input type="submit" name="Submit" value="Save" />
      </div>
    </label></td>
  </tr>
  <tr>
    <th scope="row">&nbsp;</th>
    <td colspan="2">&nbsp;</td>
  </tr>
  </form>
	</table>
	
	<#-- /Main Content-->
	</TD>	
	<TD valign="top"><#include "/includes/rightbar.ftl"></TD>
</TR>
</TABLE>

<#include "/includes/footer.ftl">